<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Blockly Demo: Fixed Blockly</title>
    <script src="./jquery/jquery.js"></script>
    <script src="./blockly-master/blockly_compressed.js"></script>
    <script src="./blockly-master/blocks_compressed.js"></script>
    <script src="./blockly-master/core/workspace.js"></script>
    <!--<script src="./blockly-master/msg/js/en.js"></script> -->
    <script src="./blockly-master/msg/js/zh-hans.js"></script>
    <script src="./blockly-master/javascript_compressed.js"></script>
    <script src="./blockly-master/python_compressed.js"></script>
    <script src="./blockly-master/blocks/myblock.js"></script>
    <script src="./blockly-master/blocks/Basiclibrary.js"></script>
    <script src="./blockly-master/blocks/Actionlibrary.js"></script>
    <script src="./blockly-master/blocks/LEDLib.js"></script>
    <script src="./blockly-master/blocks/BuzzerLib.js"></script>
    <script src="GoerBlockFunction.js"></script>
    <script src="data.js"></script>
    <link rel="stylesheet" href="blocklyStyle.css">
    <style>
        body {
            background-color: #fff;
            font-family: sans-serif;
        }
        
        h1 {
            font-weight: normal;
            font-size: 150%;
            text-align: center;
        }
    </style>
</head>

<body>
    <!--<h1><a href="https://developers.google.com/blockly/">Blockly</a> &gt;
    <a href="../index.html">Demos</a> &gt; Fixed Blockly</h1>-->

    <!--<p>This is a simple demo of injecting Blockly into a fixed-sized 'div' element.</p>-->

    <!--<p>&rarr; More info on <a href="https://developers.google.com/blockly/guides/configure-blockly/web/fixed-size">injecting fixed-sized Blockly</a>&hellip;</p>-->
    <h1>GraphicProgramming debug</h1>
    <!--<input type="file" id="uploadedFile"></input>-->
    <button type="button" onclick="OpenCode()">新建</button>
    <button type="button" onclick="XmlToCode()">恢复</button>
    <button type="button" onclick="SaveCode()">保存</button>
    <button type="button" onclick="BuildCode()">编译</button>
    <button type="button" onclick="savemyblock()">刷新</button>
    <button type="button" onclick="registerbutton()">注册按钮</button>
    <button type="button" onclick="undo()">上一步</button>
    <button type="button" onclick="redo()">下一步</button>
    <div id="divframe">

        <div id="jsonTip"> </div>
    </div>

    <div id="blocklyDiv" style="height: 600px; width: 1900px;background-color:#0f0"></div>
    <textarea id="importExport" style="height: 250px;width: 1900px;" onchange="taChange();" onkeyup="taChange()"></textarea>
    <!--
  <div class = "text">
      <textarea id="importExport" style="height: 993px;width: 200px" onchange="taChange();" onkeyup="taChange()"></textarea>
  </div>>
-->
    <!--block初始化设置-->

    <script src="GoerBlockInit.js"></script>
    <script>
        // workspace.addChangeListener(myUpdateFunction);
    </script>
</body>

</html>